package com.demo.controller;

import java.io.File;



import org.apache.log4j.Logger;

import com.baidu.ueditor.ActionEnter;
import com.jfinal.core.Controller;
import com.jfinal.kit.PathKit;

public class UeditorController extends Controller {

	private static Logger log = Logger.getLogger(UeditorController.class);
	
	public void index() {
		System.out.println(PathKit.getWebRootPath() + File.separator);
		String htmlText = new ActionEnter( getRequest(), PathKit.getWebRootPath() + File.separator ).exec();
		renderHtml(htmlText);
	}
	
}
